<!DOCTYPE html>
<html>
	<head lang="en">
		<meta charset="utf-8">
		<title>网页中引用CSS</title>
		<style type="text/css">
			h1{font-size: 14px;
			font-family: "宋体"
			color:red;}
			h3{color:#090;}
			p{
				font-size: 16px;
				color: red;
			}
			<link href="style.css" rel="stylesheet" type="text/css"/>
		</style>
	</head>
	<body>
		<h1>北京欢迎你（内部样式）</h1>
		<h2 style="color:red;">上海欢迎你(行内样式）</h2>
		<h3>南京欢迎你</h3>
		<p>有梦想谁都了不起！（内部样式）</p>
		<p style="font-size: 14px;color:green;">有勇气就会有奇迹。（行内样式）</p>
	</body>
</html>